package com.stormrage.entity.learn;

import java.io.Serializable;

public class LeaStudentSelect implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 799450657102692575L;

	// ------------------------------- Fields -------------------------------

	private Integer id;

	private Integer stuId;

	private Integer selected;

	// ------------------------------- Fields -------------------------------

	public LeaStudentSelect() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getStuId() {
		return stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public Integer getSelected() {
		return selected;
	}

	public void setSelected(Integer selected) {
		this.selected = selected;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaStudentSelect instance(Integer stuId, Integer selected) {
		LeaStudentSelect entity = new LeaStudentSelect();
		entity.setStuId(stuId);
		entity.setSelected(selected);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : id - " + id + " stuId - " + stuId + " selected - " + selected;
	}

}
